package com.xc.shopping_font.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "product_category")
public class ProductCategory implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("parent_id")
    private Long parentId;

    private String name;

    private Integer count;

    private Integer level;

    @TableField("nav_status")
    private Integer navStatus;

    @TableField("show_status")
    private Integer showStatus;

    private Integer sort;


}
